import http from '../utils/http'
// import {usernameT,passwordT} from '../type/user'

const loginApi = (username:string,password:string)=>{
  return http({
    url:'/users/login',
    method:"POST",
    data: { username, password}
  })
}

export {
  loginApi,
}